﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02000E3B RID: 3643
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueAdventureRoomGameplayWolfGunGameInfo : IMessage<RogueAdventureRoomGameplayWolfGunGameInfo>, IMessage, IEquatable<RogueAdventureRoomGameplayWolfGunGameInfo>, IDeepCloneable<RogueAdventureRoomGameplayWolfGunGameInfo>, IBufferMessage
	{
		// Token: 0x17002E63 RID: 11875
		// (get) Token: 0x0600A3C1 RID: 41921 RVA: 0x001B9D3B File Offset: 0x001B7F3B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueAdventureRoomGameplayWolfGunGameInfo> Parser
		{
			get
			{
				return RogueAdventureRoomGameplayWolfGunGameInfo._parser;
			}
		}

		// Token: 0x17002E64 RID: 11876
		// (get) Token: 0x0600A3C2 RID: 41922 RVA: 0x001B9D42 File Offset: 0x001B7F42
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueAdventureRoomGameplayWolfGunGameInfoReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17002E65 RID: 11877
		// (get) Token: 0x0600A3C3 RID: 41923 RVA: 0x001B9D54 File Offset: 0x001B7F54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueAdventureRoomGameplayWolfGunGameInfo.Descriptor;
			}
		}

		// Token: 0x0600A3C4 RID: 41924 RVA: 0x001B9D5B File Offset: 0x001B7F5B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAdventureRoomGameplayWolfGunGameInfo()
		{
		}

		// Token: 0x0600A3C5 RID: 41925 RVA: 0x001B9D6E File Offset: 0x001B7F6E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAdventureRoomGameplayWolfGunGameInfo(RogueAdventureRoomGameplayWolfGunGameInfo other) : this()
		{
			this.battleTargetList_ = other.battleTargetList_.Clone();
			this.gameTargetNum_ = other.gameTargetNum_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600A3C6 RID: 41926 RVA: 0x001B9DA4 File Offset: 0x001B7FA4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueAdventureRoomGameplayWolfGunGameInfo Clone()
		{
			return new RogueAdventureRoomGameplayWolfGunGameInfo(this);
		}

		// Token: 0x17002E66 RID: 11878
		// (get) Token: 0x0600A3C7 RID: 41927 RVA: 0x001B9DAC File Offset: 0x001B7FAC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<RogueAdventureRoomGameplayWolfGunTarget> BattleTargetList
		{
			get
			{
				return this.battleTargetList_;
			}
		}

		// Token: 0x17002E67 RID: 11879
		// (get) Token: 0x0600A3C8 RID: 41928 RVA: 0x001B9DB4 File Offset: 0x001B7FB4
		// (set) Token: 0x0600A3C9 RID: 41929 RVA: 0x001B9DBC File Offset: 0x001B7FBC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameTargetNum
		{
			get
			{
				return this.gameTargetNum_;
			}
			set
			{
				this.gameTargetNum_ = value;
			}
		}

		// Token: 0x0600A3CA RID: 41930 RVA: 0x001B9DC5 File Offset: 0x001B7FC5
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueAdventureRoomGameplayWolfGunGameInfo);
		}

		// Token: 0x0600A3CB RID: 41931 RVA: 0x001B9DD4 File Offset: 0x001B7FD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueAdventureRoomGameplayWolfGunGameInfo other)
		{
			return other != null && (other == this || (this.battleTargetList_.Equals(other.battleTargetList_) && this.GameTargetNum == other.GameTargetNum && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600A3CC RID: 41932 RVA: 0x001B9E24 File Offset: 0x001B8024
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			num ^= this.battleTargetList_.GetHashCode();
			if (this.GameTargetNum != 0U)
			{
				num ^= this.GameTargetNum.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600A3CD RID: 41933 RVA: 0x001B9E71 File Offset: 0x001B8071
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600A3CE RID: 41934 RVA: 0x001B9E79 File Offset: 0x001B8079
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600A3CF RID: 41935 RVA: 0x001B9E84 File Offset: 0x001B8084
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GameTargetNum != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.GameTargetNum);
			}
			this.battleTargetList_.WriteTo(ref output, RogueAdventureRoomGameplayWolfGunGameInfo._repeated_battleTargetList_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600A3D0 RID: 41936 RVA: 0x001B9ED4 File Offset: 0x001B80D4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			num += this.battleTargetList_.CalculateSize(RogueAdventureRoomGameplayWolfGunGameInfo._repeated_battleTargetList_codec);
			if (this.GameTargetNum != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameTargetNum);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600A3D1 RID: 41937 RVA: 0x001B9F28 File Offset: 0x001B8128
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueAdventureRoomGameplayWolfGunGameInfo other)
		{
			if (other == null)
			{
				return;
			}
			this.battleTargetList_.Add(other.battleTargetList_);
			if (other.GameTargetNum != 0U)
			{
				this.GameTargetNum = other.GameTargetNum;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600A3D2 RID: 41938 RVA: 0x001B9F75 File Offset: 0x001B8175
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600A3D3 RID: 41939 RVA: 0x001B9F80 File Offset: 0x001B8180
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 98U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						this.battleTargetList_.AddEntriesFrom(ref input, RogueAdventureRoomGameplayWolfGunGameInfo._repeated_battleTargetList_codec);
					}
				}
				else
				{
					this.GameTargetNum = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040042C1 RID: 17089
		private static readonly MessageParser<RogueAdventureRoomGameplayWolfGunGameInfo> _parser = new MessageParser<RogueAdventureRoomGameplayWolfGunGameInfo>(() => new RogueAdventureRoomGameplayWolfGunGameInfo());

		// Token: 0x040042C2 RID: 17090
		private UnknownFieldSet _unknownFields;

		// Token: 0x040042C3 RID: 17091
		public const int BattleTargetListFieldNumber = 12;

		// Token: 0x040042C4 RID: 17092
		private static readonly FieldCodec<RogueAdventureRoomGameplayWolfGunTarget> _repeated_battleTargetList_codec = FieldCodec.ForMessage<RogueAdventureRoomGameplayWolfGunTarget>(98U, RogueAdventureRoomGameplayWolfGunTarget.Parser);

		// Token: 0x040042C5 RID: 17093
		private readonly RepeatedField<RogueAdventureRoomGameplayWolfGunTarget> battleTargetList_ = new RepeatedField<RogueAdventureRoomGameplayWolfGunTarget>();

		// Token: 0x040042C6 RID: 17094
		public const int GameTargetNumFieldNumber = 2;

		// Token: 0x040042C7 RID: 17095
		private uint gameTargetNum_;
	}
}
